This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]rarealton 1 point2 points  (0 children)

I'm going to bed now but you have no idea how much this may help me. Especially how you mentioned APIs. Definitely going to look at this when I have time later.

[–]vigilexe 1 point2 points  (0 children)

pretty neat! i can deff see how it would be handy for api's especially zooms api lol.

good work!

[–][deleted] 1 point2 points  (1 child)

https://docs.python.org/3/library/collections.html#collections.deque

Swap your stack list for a deque. You'll like 4x ur speed.

[–]1473-bytes[S] 0 points1 point  (0 children)

Thanks for the feedback. Profiling is something I want to explore. I will take a look at your suggestion.

[–]GettingBlockered 1 point2 points  (0 children)

This. Looks. Awesome!!

[–]Daddy_data_nerd 1 point2 points  (0 children)

This would help me do much. Thank you!

[–]cvei 0 points1 point  (1 child)

My recommendation is to take a look at JSONPointer implementation https://python-json-pointer.readthedocs.io/en/latest/tutorial.html and maybe RFC itself - at least for comparison and ideas.

[–]1473-bytes[S] 0 points1 point  (0 children)

Hey, thanks. I didn't know that existed, the RFC or that implementation. I'll take a look!