Creates options optimized for performance. These options disable some validation for faster apply at the cost of reduced safety. Use only when applying trusted changes. # Example ```rust use atomic_core::crdt::apply::options::ApplyOptions; let options = ApplyOptions::fast(); assert!(!options.validate_ordering()); ```
()
| 259 | /// assert!(!options.validate_ordering()); |
| 260 | /// ``` |
| 261 | pub fn fast() -> Self { |
| 262 | Self { |
| 263 | validate_ordering: false, |
| 264 | validate_references: true, // Still check references for safety |
| 265 | track_conflicts: false, |
| 266 | fail_on_conflict: false, |
| 267 | allow_duplicate_ids: false, |
| 268 | update_reverse_indexes: true, |
| 269 | max_operations: None, |
| 270 | validate_content_ranges: false, |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | // Accessors |
| 275 |
nothing calls this directly
no outgoing calls
no test coverage detected