moment-timezone
moment-timezone copied to clipboard
Zone._index optimization: binary search for closest "until"
Hi @dashie. Sorry I was tuned out for a while.
You basically hit the same problem I just stumbled upon, in #743 after updating things for the latest IANA version.
Would you be so kind to rebase this off the current release?
Thanks.
... Or rather, can you separate the code changes out so I can do a full build after merging?
Thanks.
I did it, but there are always issues with IANA version. Anyway I've cleaned and rebased my history (https://github.com/dashie/moment-timezone/commit/fa5c4b69b6e42760a3dcc8f818e921759e7e604d) so it is simple for you to look into the changes
Ooh, binary search, nice. I hope to merge this soon.
it is merged now?