Skip to content

Drop ujson and switch to orjson - #579

Closed
rumpelsepp wants to merge 1 commit into
python-lsp:developfrom
rumpelsepp:orjson
Closed

Drop ujson and switch to orjson#579
rumpelsepp wants to merge 1 commit into
python-lsp:developfrom
rumpelsepp:orjson

Conversation

@rumpelsepp

Copy link
Copy Markdown

Implemented as requested in this comment:
#508 (comment)

@ccordoba12ccordoba12 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your help with this @rumpelsepp!

Besides these changes, you also need to replace ujson in python-lsp-jsonrpc for the switch to be complete.

Comment threadpylsp/__main__.py
@rumpelsepp
rumpelseppforce-pushed the orjson branch 3 times, most recently from 4a01423 to ce08bbcCompareJuly 30, 2024 11:24
rumpelsepp added a commit to rumpelsepp/python-lsp-jsonrpc that referenced this pull request Jul 30, 2024
rumpelsepp added a commit to rumpelsepp/python-lsp-jsonrpc that referenced this pull request Jul 30, 2024
@rumpelsepp

rumpelsepp commented Jul 30, 2024

Copy link
Copy Markdown
Author

I realized there is a typing issue with this. json.dumps() and orjson.dump() return different types. I will fix this. I am short on time today.

@rumpelsepp
rumpelsepp marked this pull request as draft July 30, 2024 11:58
valrus pushed a commit to valrus/python-lsp-jsonrpc that referenced this pull request Aug 17, 2024
@valrusvalrus mentioned this pull request Aug 17, 2024
@ccordoba12

Copy link
Copy Markdown
Member

Closing in favor of #591. Thanks for your work on this @rumpelsepp!

Sign up for freeto 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.

2 participants

@rumpelsepp@ccordoba12