<commit_before>function get_next_visible(message_row) {
    if (message_row === undefined)
        return [];
    return message_row.nextAll('.message_row:first');
}

function get_prev_visible(message_row) {
    if (message_row === undefined)
        return [];
    return message_row.prevAll('.message_row:first');
}

function get_first_visible() {
    return $('.focused_table .message_row:first');
}

function get_last_visible() {
    return $('.focused_table .message_row:last');<commit_msg>Slight speedup in get_next_visible/get_prev_visible.<commit_after>function get_next_visible(message_row) {
    if (message_row === undefined)
        return [];
    return message_row.nextAll('.message_row').filter(':first');
}

function get_prev_visible(message_row) {
    if (message_row === undefined)
        return [];
    return message_row.prevAll('.message_row').filter(':first');
}

function get_first_visible() {
    return $('.focused_table .message_row:first');
}

function get_last_visible() {
    return $('.focused_table .message_row:last');
{'fraction_non_alphanumeric': 0.14081826831588962, 'fraction_numerical': 0.0, 'mean_word_length': 4.78021978021978, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6177322', 'n_tokens_mistral': 326, 'n_tokens_neox': 317, 'n_words': 54}