﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35236	Access Field.attname and Field.column directly	Adam Johnson	Adam Johnson	"Many field references call `Field.get_attname_column()` or `Field.get_attname()`, despite the `attname` and `column` attributes containing the computed results (after `contribute_to_class()`). Updating those call sites to plain attribute access eliminates some function calls, a worthy small speedup.

From a profile of system checks on a smaller project, there were ~2k calls between the versions of each method:

* 630 for `Field.get_attname_column()`
* 208 for `ForeignKey.get_attname_column()`
* 666 for `Field.get_attname()`
* 431 for `ForeignKey.get_attname()`

All of these are eliminated by moving to attribute access."	Cleanup/optimization	closed	Database layer (models, ORM)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
