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

Prevent quoting numeric keys #21

Merged
merged 1 commit into from Feb 9, 2017
Merged

Prevent quoting numeric keys #21

merged 1 commit into from Feb 9, 2017

Conversation

caseyWebb
Copy link
Contributor

Although object keys are always strings, it's cheaper to treat them as numbers where applicable, esp when url encoding...

current
'1':(locationID:-2)

url encoded
%271%27:(locationID:-2)

proposed
1:(locationID:-2)

@Nanonid
Copy link
Owner

Nanonid commented Feb 9, 2017

This is important for eventually sparse matrix encoding.
ty Casey.

@Nanonid Nanonid merged commit 85f3f98 into Nanonid:master Feb 9, 2017
@w33ble w33ble mentioned this pull request Apr 17, 2018
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.

None yet

2 participants