Reduce the maximum word proximity from 8 to 4

This commit is contained in:
Loïc Lecrenier 2023-06-07 11:50:58 +02:00
parent 8628a0c856
commit d6868dbd47
3 changed files with 4 additions and 3 deletions

View file

@ -2,7 +2,7 @@ use std::cmp;
use crate::{relative_from_absolute_position, Position};
pub const MAX_DISTANCE: u32 = 8;
pub const MAX_DISTANCE: u32 = 4;
pub fn index_proximity(lhs: u32, rhs: u32) -> u32 {
if lhs <= rhs {