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

Refactor tokenizer with $firstChar/$secondChar #130

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

mvorisek
Copy link
Contributor

@mvorisek mvorisek commented Jun 11, 2024

extracted from #119 as requested

Runtime is -3.2% and the code is also more readable.

No real allocation is done as single-length characters are always interned in php.

@mvorisek mvorisek marked this pull request as ready for review June 11, 2024 17:34
@greg0ire greg0ire added the enhancement New feature or request label Jun 11, 2024
@SenseException SenseException merged commit e53096c into doctrine:1.5.x Jun 11, 2024
10 checks passed
@mvorisek mvorisek deleted the fix_perf_refactor branch June 11, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants