Skip to content

Conversation

Paul-Stern
Copy link
Contributor

Current implementation seems to me as a compromise between performance and usability:

Content of examples/hello.v (from branch master):
339.567us

I hope the changes may help the project. The branch goal is to take into account the considerations discussed here: #282

@medvednikov
Copy link
Member

Great, thanks! Can you also please add a small test? Can be generated with AI.

Needs to http.get a file blog url and ensure it contains certain text.

@Paul-Stern
Copy link
Contributor Author

Paul-Stern commented Apr 7, 2025

Well, yes, I think I can. It will take some time to think it over, though. My pleasure.
BTW Is it a good idea to remove completely the commented out block of code of the old algo?

@JalonSolov
Copy link
Contributor

Yes, you can remove commented out code. If it is needed, it can be recovered from the history. Better to keep only "live" code, instead of having to scroll past lots of commented code.

@Paul-Stern
Copy link
Contributor Author

@medvednikov Ready. Please have a look and check if it can be merged now.

@medvednikov medvednikov merged commit e0756a2 into vlang:master Apr 7, 2025
4 checks passed
@medvednikov
Copy link
Member

Perfect, thanks!

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.

3 participants