[MXS-1704] Cost of gwbuf_length should be constant. Created: 2018-03-06  Updated: 2022-03-08  Resolved: 2022-03-08

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: None
Fix Version/s: 22.08.0

Type: Task Priority: Major
Reporter: Johan Wikman Assignee: Esa Korhonen
Resolution: Fixed Votes: 0
Labels: None


 Description   

gwbuf_length now walks over the entire chain in order to calculate the value. That must be changed so that obtaining the length is a constant cost, irrespective of how many chains there are.



 Comments   
Comment by markus makela [ 2022-03-08 ]

Fixed as a part of the refactoring done for 7.0.0.

Generated at Thu Feb 08 04:08:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.