Skip to content
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

Inefficient algorithm for converting ts to GMT time in timelib_unixtime2gmt #19

Closed
wants to merge 1 commit into from

Conversation

blar
Copy link

@blar blar commented Aug 21, 2017

getTransitions is slow with large negative or positive values. With the default values PHP_INT_MIN and PHP_INT_MAX the function takes a very long time.

php/php-src#2693
https://bugs.php.net/bug.php?id=75088

@derickr derickr closed this in 82677ac Aug 30, 2017
nzolnierzmdb pushed a commit to nzolnierzmdb/timelib that referenced this pull request Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant