Skip to content

Conversation

espindola
Copy link

This replaces indexes with boxes when possible. This might or might not be faster, but I find it a bit easier to read and has stronger typing.

@espindola
Copy link
Author

I implemented the index update mostly as an exercise. I find it a bit easier to understand, but it must be slower than the current code.

@graydon
Copy link
Contributor

graydon commented Jan 11, 2011

Ah, I didn't see the update from earlier in the week that you added the re-indexing pass. Given that, I'm happy to merge this if it makes the code more legible; though it's now bit-rotted to the point of needing a refresh.

@espindola
Copy link
Author

Rebased. Not sure if it more legible, but it is a bit more type safe.

dlrobertson pushed a commit to dlrobertson/rust that referenced this pull request Nov 29, 2018
rchaser53 pushed a commit to rchaser53/rust that referenced this pull request Jan 19, 2019
document keep-stage1 and also try to clarify
gi-dellav pushed a commit to gi-dellav/rust that referenced this pull request Dec 9, 2021
celinval pushed a commit to celinval/rust-dev that referenced this pull request Nov 29, 2024
Towards rust-lang#150 

Changes
Added harnesses for count_bytes

Verification Result
```
Checking harness ffi::c_str::verify::check_count_bytes...

VERIFICATION RESULT:
 ** 0 of 241 failed (5 unreachable)

VERIFICATION:- SUCCESSFUL
Verification Time: 5.377671s
```
This pull request was closed.
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