martinvuyk

Results 55 issues of martinvuyk

### Bug description I was trying to do some manual UTF-8 parsing and didn't like the amount of lines that all the if elifs took, and when executing couldn't understand...

bug
mojo

### Review Mojo's priorities - [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities. ### What is your request? It would be...

enhancement
mojo-stdlib
mojo

### Bug description I've been trying for the last week to do the 1 billion row challenge in mojo. [Here is the code](https://github.com/martinvuyk/1brc-mojo). I thought it was my implementation but...

bug
mojo
mojo-repo

Changed all references I could find to file.read_bytes() return type This would relate to the [byte-as-uint8 proposal](https://github.com/modularml/mojo/blob/main/proposals/byte-as-uint8.md)

imported-internally
mojo-repo

added both functions to keep compatibility with python ``` fn get(self, key: K) -> Optional[V]: ... fn get(self, key: K, default: V) -> V: ... ```

imported-internally
merged-internally
mojo-repo

### Review Mojo's priorities - [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities. ### What is your request? something like having...

enhancement
mojo-repo

### Review Mojo's priorities - [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities. ### What is your request? I don't know...

enhancement
mojo-lang
mojo-repo

To add pythonesque functionality For now it returns a `List[String]` which doesn't implment the `__next__` method so its `__iter__ `needs to be manually called ```mojo var f = open("/tmp/example.txt", "r")...

### Review Mojo's priorities - [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities. ### What is your request? add `# type:...

enhancement
mojo-repo
Initiative: Compilation/Execution

I'm sorry for the amount of lines, but I think this had to be done in one go to avoid having to deal with bad choices later on (I strongly...