-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize nodes access #35
Comments
That's a really good idea! Our uses of WJElement have been heavier on The "last" pointer should give lots of bang for the buck, and not be On 10/8/14, kenoh [email protected] wrote:
|
How big of an array are we talking about? I don't have an objection to adding a lastChild pointer. It will require Micah On 10/08/14 16:01, Owen Swerkstrom wrote:
|
I was adding around 4600 records each containing 16+1 values, which gives around 78200 insertions. The program was in function _WJEIndex more than 98% of the time. |
A last pointer has been added. I would still like to do more to improve this though. |
Hi,
on long arrays adding new items is really slow. I presume it is because of chained-list-like implementation. Therefore I would like to optimize the library.
So far I came up with two things:
Please, state your ideas on this, state possible pitfalls. Thanks.
The text was updated successfully, but these errors were encountered: