solana-with-rpc-optimizations/program-runtime
Alexander Meißner cf0c52c207
Cleanup - program runtime (#34318)
* Removes retain() from prune_by_deployment_slot() as that is covered in remove_programs_with_no_entries() already.

* Removes remove_programs_with_no_entries() from sort_and_unload().

* Fixes ix_usage_counter in LoadedProgram::to_unloaded().

* Fixes doc comment of LoadedProgram::ix_usage_counter.

* Removes unused num_total_programs from test_eviction().

* Replaces .as_ref() in lambda with std::option::Option::as_ref.

* Replaces .for_each() with a for-loop.

* Uses .retain() instead of iter().filter().cloned().collect().
2023-12-06 22:05:26 +01:00
..
src Cleanup - program runtime (#34318) 2023-12-06 22:05:26 +01:00
Cargo.toml replaces assert!(matches!(...)) with assert_matches!(...) (#33068) 2023-08-30 13:48:27 -04:00
build.rs