Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xissy/lexorank

A simple implementation of LexoRank
https://github.com/xissy/lexorank

golang lexorank

Last synced: 11 days ago
JSON representation

A simple implementation of LexoRank

Awesome Lists containing this project

README

        

# lexorank

[![Go Report Card](https://goreportcard.com/badge/xissy/lexorank)](https://goreportcard.com/report/xissy/lexorank)

> A simple implementation of LexoRank

LexoRank is a ranking system introduced by Atlassian JIRA.
*

## Background
What is the best representation of an ordered list in a database?
With a dumb order number based ranking system, re-ordering a row of a
list may require updating all rows of the list in a transaction,
which is O(n).
*
*

LexoRank makes it O(1). All you need to do is updating the re-ordered
row's order field.